<?php foreach ($list as $v){?>
<li class="list-item">
    <div>
        <img src="<?php echo $v['user_head']?>" class="head-img"/>
        <div class="item-text">
            <p class="p1 clearfix">
                <span class="fl"><?php echo $v['user_name']?></span>
            </p>
            <p class="p2">
                <?php echo $v['content']?>
            </p>
            <p class="p3">
                <span class="span1"><?php echo $v['add_time']?></span>
            </p>
        </div>
    </div>
</li>
    <?php }?>